function checkPrice(){
    
	//check drop down
	if(document.getElementById('pricealt').value != 0){
		document.getElementById('pricenum').disabled = true;
		document.getElementById('pricenum').style.display = 'none';
		document.getElementById('pricenumtit').style.display = 'none';
		document.getElementById('pricenumhelp').style.display = 'none';
	}else{
	    document.getElementById('pricenumhelp').style.display = '';
	    document.getElementById('pricenumtit').style.display = '';
		document.getElementById('pricenum').style.display = '';
		document.getElementById('pricenum').disabled = false;
	}
}

function disable(id,title){
	document.getElementById(id).disabled = true;

	if(title){
		document.getElementById(id).value = title;
	}
}